<html class="no-js">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <include file="Public/title" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="Free HTML5 Template by FREEHTML5" />
  <meta name="keywords" content="free html5, free template, free bootstrap, html5, css3, mobile first, responsive" />
  <!-- Facebook and Twitter integration -->
  <meta property="og:title" content=""/>
  <meta property="og:image" content=""/>
  <meta property="og:url" content=""/>
  <meta property="og:site_name" content=""/>
  <meta property="og:description" content=""/>
  <meta name="twitter:title" content="" />
  <meta name="twitter:image" content="" />
  <meta name="twitter:url" content="" />
  <meta name="twitter:card" content="" />
  <include file="Public/head" />
  </head>
  <body>
   <header role="banner" id="fh5co-header">
      <div class="container">
        <!-- <div class="row"> -->
          <nav class="navbar navbar-default">
            <div class="navbar-header">
              <!-- Mobile Toggle Menu Button -->
          <a href="#" class="js-fh5co-nav-toggle fh5co-nav-toggle" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"><i></i></a>
                <a class="navbar-brand" href="index.html">Phone<span>.</span></a> 
            </div>
            <div id="navbar" class="navbar-collapse collapse">
              <ul class="nav navbar-nav navbar-right">
               <li class="active"> <a  style="font-family: SimHei;font-size: large" data-nav-section="" href="/phone/"><span> Home</span></a></li>
                <li><a  style="font-family: SimHei;font-size: large" data-nav-section="prephone" href="{:U('PrePhones/prephonelist')}"><span> PrePhone</span></a></li>
                <li><a  style="font-family: SimHei;font-size: large" data-nav-section="phone" href="{:U('Phones/phonelist')}"><span> Phone</span></a></li>
                <li><a  style="font-family: SimHei;font-size: large" data-nav-section="adminlogin" href="/phone/Admin/"><span> Admin Login</span></a></li>
                 <if condition="$Think.session.uname eq null">
                <li><a  style="font-family: SimHei;font-size: large" data-nav-section="login" href="{:U('Users/login')}"><span> Login</span></a></li>
                <li><a  style="font-family: SimHei;font-size: large" data-nav-section="reg" href="{:U('Users/reg')}"><span> Reg</span></a></li>
                <else/>
                   <li>
                      <a  style="font-family: SimHei;font-size: large" href="{:U('Goods/goods')}">{$Think.session.u}</a>
                  </li>
                    <li><a style="font-family: SimHei;font-size: large" data-nav-section="exitlog" href="{:U('Goods/edituser')}"><span>修改个人信息</span></a></li>
                <li><a style="font-family: SimHei;font-size: large" data-nav-section="exitlog" href="{:U('Users/exitLog')}"><span>Logout</span></a></li>
                 </if>

                
              </ul>
                
          
             <!--   <div class="search" style="min-width: 160px" >
                          <form  style="min-width: 90px">
                              <input style="min-width: 90px" type="text" value="搜索品牌" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '';}" >
                              <input type="submit" value=""> -->
                       <!--    </form>
                   </div> --> 
            </div>
          </nav>
        <!-- </div> -->
      </div>
  </header>
  <div id="fh5co-testimonials" data-section="testimonials">   
    <div class="container">
      <div class="row">
        <div class="col-md-12 section-heading text-center">
          <h2 class="animate-box" data-animate-effect="fadeIn" style="margin-left: 50px;">修改个人信息</h2>
          <div class="row animate-box" data-animate-effect="fadeIn">
            <div class="col-md-8 col-md-offset-2 subtext">
              <ul>
<marquee behavior="scroll" direction="left" onMouseOut="this.start()" onMouseOver="this.stop()"><p style="color:#FFFFFF;font-size: 30px; " class="s1 s2 s5">欢迎进入个人信息修改页面</p></marquee>
</ul>
            </div>
            </div> 
            <div class="widget-body">
            <!--   <table id="users" class="table table-striped table-bordered dataTable"> -->
                <thead>
                  <!--  <?php //dump($lost);
                    //echo dump($user[0]['telephone']);?> -->
            <form class="form-horizontal"  method="post" action="__URL__/updateuser" ctype="multipart/form-data">
                
                 <input type="hidden" name="uname" value="<?php echo $user[0]['uname']; ?>"> 
        <div class="widget-body">
              <div class="widget-forms clearfix">
                <form class="form-horizontal">
                 <div class="control-group">
                    <label class="control-label">用户名:</label>
                    <div class="controls">
                      <input class="span7 tip" name="uname" data-title="用户名" type="text"  value=<?php  echo $user[0]['uname'];  ?>>
                    </div>
                </div>

                <div class="control-group">
                     <label class="control-label" >性别:</label>
                    <div class="controls" >  <input type="radio" name="gender" id="inlineRadio1" value="1"> 男 
                     <input type="radio" name="gender" id="inlineRadio2" value="0"> 女                  
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">出生日期:</label>
                    <div class="controls">
                      <input class="span7 tip" name="birthdate" data-title="出生日期" type="text"  value=<?php  echo $user[0]['birthdate'];  ?>>
                    </div>
                </div>


                  <div class="control-group">
                    <label class="control-label" >学历:</label>
                 <select class="form-control" style="width: 188px; margin-left:474px;" name="degree">
        <option value="0">中学</option>
    <option value="1">高中</option>
    <option value="2">大学</option>
    <option value="3">研究生</option>
    </select>
    </div>



                </div>
                 <div class="control-group" >
                    <label class="control-label">邮箱:</label>
                <div class="controls">
                      <input class="span7 tip" name="email" data-title="邮箱" type="text"  value=<?php  echo $user[0]['email'];  ?>>
                    </div> 
                </div>
                 <div class="control-group">
                    <label class="control-label">喜爱的手机品牌:</label>
                <div class="controls">
                      <input class="span7 tip" name="love" data-title="喜爱的手机品牌" type="text"  value=<?php  echo $user[0]['love'];  ?>>
                    </div>
                </div>
                 <div class="control-group">
                    <label class="control-label">现使用的手机品牌:</label>
                <div class="controls">
                      <input class="span7 tip" name="use" data-title="现使用的手机品牌" type="text"  value=<?php  echo $user[0]['use'];  ?>>
                    </div>
                </div>
                
                <div class="control-group">
                    <label class="control-label">状态</label>
                    <div class="controls">
                       
                      <label class="radio">
                        <input type="radio" name="state" id="optionsRadios1" value="0" <?php if ($user[0]['state']==0){echo "checked";}?>>正常
                      </label> 
                      <label class="radio">
                        <input type="radio" name="state" id="optionsRadios2" value="1" <?php if ($user[0]['state']==1){echo "checked";}?>>禁用
                      </label> 
                    </div>

                 <div class="control-group">
                    <label class="control-label">图片:</label>
                    <div class="controls">
                      <img class="img-thumbnail"  src="__PUBLIC__/Admin/photo/<?php  echo $user[0]['photo'];  ?>" width="90" height="80" alt="未上传图片"> 
                    </div>
                </div>

                    <div class="form-group">
                    <label class="control-label">选择新图片</label>
                     <div class="controls">
                        <input type="file" name="photo" style="margin-left: 520px;">  
                    </div>             
                 </div>
            
               
            
            <div class="widget-footer">
            <div class="controls">
               <button class="btn btn-primary" type="submit">保存修改信息</button>                 
                <a href="javascript:history.go(-1);"><button class="btn" type="button">取消</button></a> 
            <br>
            <br></div>
            </div>
            </form>



           
               </thead>
              
            </div> 
            <!-- /widget-body -->
         
  
  <div class="fh5co-cta" style="background-image:url(__APP__/Public/assets/images/hero.jpg)">
    <div class="overlay"></div>
    <div class="container">
      <div class="col-md-8 col-md-offset-2 text-center">
        <h3>If you are the administrator, please click below. </h3>
        <p><a href="/phone/Admin/" class="btn btn-primary btn-outline btn-lg">后台登录</a></p>
      </div>
    </div>
  </div>

  <footer id="footer" role="contentinfo">
    <div class="container">
      <div class="row row-bottom-padded-sm">
        <div class="col-md-12">
          <p class="copyright text-center">&copy; 大连东软信息学院<a href="#">Phone</a>. 首页 <br> 计算机科学与技术 <a href="#" target="_blank" title="14007"></a> - 14007 <a href="#" title="李簿原" target="_blank">李簿原</a> </p>
        </div>
      </div>
      <div class="row">
        <div class="col-md-12 text-center">
          <ul class="social social-circle">
            <li><a href="#"><i class="icon-twitter"></i></a></li>
            <li><a href="#"><i class="icon-facebook"></i></a></li>
            <li><a href="#"><i class="icon-youtube"></i></a></li>
            <li><a href="#"><i class="icon-pinterest"></i></a></li>
            <li><a href="#"><i class="icon-linkedin"></i></a></li>
            <li><a href="#"><i class="icon-instagram"></i></a></li>
            <li><a href="#"><i class="icon-dribbble"></i></a></li>
          </ul>
        </div>
      </div>
    </div>
        <include file="Public/footer" />    
    
  </body>

</html>



             